namespace RAG.Domain.Entities.App;

public class DocumentChunks : EntityBase
{
    //文档块索引
    public int ChunkIndex { get; set; }
    //文档块内容
    public string Content { get; set; } = default!;
    //文档块Token数量
    public int? TokenCount { get; set; }
    //文档（导航属性）
    public Documents Document { get; set; } = default!;
    //文档块对应的知识库向量（导航属性）
    public ICollection<KnowledgeBase> KnowledgeBase { get; set; } = new List<KnowledgeBase>();
}